package com.yicong.ants.bean.home;

/**
 * @author LinDingQiang
 * @description
 * @time 5/30/21 12:59 PM
 * @email dingqiang.l
 */
public class MallRecommendBean {
    private int item_id;
    private String sales_price;
    private String url;
    private int sku_id;
    private String sku_img;
    private int ad_id;
    private String sku_name;
    private String coin_price;
    private int tag_energy;

    public MallRecommendBean() {
    }

    public int getItem_id() {
        return this.item_id;
    }

    public String getSales_price() {
        return this.sales_price;
    }

    public String getUrl() {
        return this.url;
    }

    public int getSku_id() {
        return this.sku_id;
    }

    public String getSku_img() {
        return this.sku_img;
    }

    public int getAd_id() {
        return this.ad_id;
    }

    public String getSku_name() {
        return this.sku_name;
    }

    public String getCoin_price() {
        return this.coin_price;
    }

    public int getTag_energy() {
        return this.tag_energy;
    }

    public void setItem_id(int item_id) {
        this.item_id = item_id;
    }

    public void setSales_price(String sales_price) {
        this.sales_price = sales_price;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setSku_id(int sku_id) {
        this.sku_id = sku_id;
    }

    public void setSku_img(String sku_img) {
        this.sku_img = sku_img;
    }

    public void setAd_id(int ad_id) {
        this.ad_id = ad_id;
    }

    public void setSku_name(String sku_name) {
        this.sku_name = sku_name;
    }

    public void setCoin_price(String coin_price) {
        this.coin_price = coin_price;
    }

    public void setTag_energy(int tag_energy) {
        this.tag_energy = tag_energy;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof MallRecommendBean)) return false;
        final MallRecommendBean other = (MallRecommendBean) o;
        if (!other.canEqual((Object) this)) return false;
        if (this.getItem_id() != other.getItem_id()) return false;
        final Object this$sales_price = this.getSales_price();
        final Object other$sales_price = other.getSales_price();
        if (this$sales_price == null ? other$sales_price != null : !this$sales_price.equals(other$sales_price))
            return false;
        final Object this$url = this.getUrl();
        final Object other$url = other.getUrl();
        if (this$url == null ? other$url != null : !this$url.equals(other$url)) return false;
        if (this.getSku_id() != other.getSku_id()) return false;
        final Object this$sku_img = this.getSku_img();
        final Object other$sku_img = other.getSku_img();
        if (this$sku_img == null ? other$sku_img != null : !this$sku_img.equals(other$sku_img))
            return false;
        if (this.getAd_id() != other.getAd_id()) return false;
        final Object this$sku_name = this.getSku_name();
        final Object other$sku_name = other.getSku_name();
        if (this$sku_name == null ? other$sku_name != null : !this$sku_name.equals(other$sku_name))
            return false;
        final Object this$coin_price = this.getCoin_price();
        final Object other$coin_price = other.getCoin_price();
        if (this$coin_price == null ? other$coin_price != null : !this$coin_price.equals(other$coin_price))
            return false;
        if (this.getTag_energy() != other.getTag_energy()) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof MallRecommendBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + this.getItem_id();
        final Object $sales_price = this.getSales_price();
        result = result * PRIME + ($sales_price == null ? 43 : $sales_price.hashCode());
        final Object $url = this.getUrl();
        result = result * PRIME + ($url == null ? 43 : $url.hashCode());
        result = result * PRIME + this.getSku_id();
        final Object $sku_img = this.getSku_img();
        result = result * PRIME + ($sku_img == null ? 43 : $sku_img.hashCode());
        result = result * PRIME + this.getAd_id();
        final Object $sku_name = this.getSku_name();
        result = result * PRIME + ($sku_name == null ? 43 : $sku_name.hashCode());
        final Object $coin_price = this.getCoin_price();
        result = result * PRIME + ($coin_price == null ? 43 : $coin_price.hashCode());
        result = result * PRIME + this.getTag_energy();
        return result;
    }

    public String toString() {
        return "MallRecommendBean(item_id=" + this.getItem_id() + ", sales_price=" + this.getSales_price() + ", url=" + this.getUrl() + ", sku_id=" + this.getSku_id() + ", sku_img=" + this.getSku_img() + ", ad_id=" + this.getAd_id() + ", sku_name=" + this.getSku_name() + ", coin_price=" + this.getCoin_price() + ", tag_energy=" + this.getTag_energy() + ")";
    }
}
